import org.apache.spark.sql.SparkSession

object ReadParquet {
  def main(args: Array[String]): Unit = {


    val spark: SparkSession = SparkSession.builder()
      .appName("")
      .master("local")
      .getOrCreate()


    spark.read.parquet("hdfs://doit01:8020/tmp/tasktmp/areaAdded/2021-12-07").show(50,false)

    spark.close()
  }

}
